home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-01-03 | 1.6 KB | 75 lines | [TEXT/R*ch] |
- Some of the v2 tools are scriptable (in time they will all be). Here is some
- information about how to script them...
-
- Your skeleton script would be...
-
- tell application BBEdit 3.5
- -- insert the appropriate scripting here
- end tell
-
- Below are brief details of how you would script some of the tools...
-
-
-
- HEADING
- =================================================================================
-
- AppleScript:
- syntax: ...
- Heading level n
- ...
- or
- ...
- heading level n with alignment aaaa
- ...
-
- where n is 1 - 6
- aaaa is 'center', 'centre', 'left', 'right'
-
-
- eg: tell application BBEdit 3.5
- heading level 4 with alignment centre
- end tell
-
-
-
- STYLE
- =================================================================================
- AppleScript:
- syntax: style aaaa
-
- where aaaa is 'bold', 'italic', 'subscript' etc
-
- eg: tell application BBEdit 3.5
- style bold
- end tell
-
-
-
- USER MARKUP
- =================================================================================
- AppleScript:
- Syntax: markup with aaaa
-
- where aaaa is the macro string to use.
-
- eg: markup with "!FA\"apples\"!IR\"pears\""
-
- Notes: Remember you have to escape any quotes in the macro string.
-
-
-
-
- UPDATE
- =================================================================================
- AppleScript:
- update ("aaaa" as alias)
-
-
- Notes: where aaaa is the path to the file or folder you wish to
- update. If you pass a reference to a file, then only that file
- will be updated. If the reference is to a folder, then the
- contents of the folder and sub-folders will be updated.
-
-
-